package com.atguigu.seckill.vo;


import com.atguigu.seckill.Vaildation.IsMobile;
import lombok.*;

import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
public class LoginVo {

    //对这俩参数进行封装
    @NotNull
    //自定义注解
    @IsMobile
    private String  mobile;
    @NotNull
    private String password;


}
